<taglib name="Common\TagLib\Sohtml"/>
<div class="main-title"><h2>{$meta_title}</h2></div>
<form method="post" action="{:U('SiteConfig/siteconfig_edit_save')}" enctype="multipart/form-data" id="frm-edit">
    <table class="table-form">
        <tr>
            <th>网站名称：</th><td><input type="text" name="site_name" value="{$data.site_name}" required/></td>
        </tr>
        <tr>
            <th>ICP备案号：</th><td><input type="text" name="icp_license_code" value="{$data.icp_license_code}" required/></td>
        </tr>
        <tr>
            <th>网站Logo：</th><td><sohtml:file name="logo_url" value="{$data.logo_url}" /></td>
        </tr>
        <tr>
            <th valign="top">网站状态：</th><td class="input-group"><sohtml:radio name="state" items="0=待审核;1=营业中;4=关停" value="{$data.state}" required="required" /><br />
        <textarea name="closed_announcement" cols="90" rows="3" style="display: none; margin-top:5px;">{$data.closed_announcement}</textarea></td>
        </tr>
    </table>
    <input type="hidden" name="id" value="{$data.id}" />
    <button type="submit">保存</button><button type="reset">重置</button>
</form>
<script src="__THEME__Crm/Default/Script/SiteConfig/siteconfig-edit.js" type="text/javascript"></script>